package pojo;

/**
 * 库存信息表实体类
 */
public class StockInfo {
    private Long stockInfoId;       //库存信息主键Id
    private Long goodsId;           //关联商品Id
    private Long warehouseId;       //关联仓库Id
    private Long presentStock;      //当前库存
    private Long availableStock;    //可用库存
    private Long removeStateId;     //删除状态:0_已删除,1_未删除

    public StockInfo(Long stockInfoId, Long goodsId, Long warehouseId, Long presentStock, Long availableStock, Long removeStateId) {
        this.stockInfoId = stockInfoId;
        this.goodsId = goodsId;
        this.warehouseId = warehouseId;
        this.presentStock = presentStock;
        this.availableStock = availableStock;
        this.removeStateId = removeStateId;
    }

    public StockInfo() {
    }

    @Override
    public String toString() {
        return "StockInfo{" +
                "stockInfoId=" + stockInfoId +
                ", goodsId=" + goodsId +
                ", warehouseId=" + warehouseId +
                ", presentStock=" + presentStock +
                ", availableStock=" + availableStock +
                ", removeStateId=" + removeStateId +
                '}';
    }

    public Long getStockInfoId() {
        return stockInfoId;
    }

    public void setStockInfoId(Long stockInfoId) {
        this.stockInfoId = stockInfoId;
    }

    public Long getGoodsId() {
        return goodsId;
    }

    public void setGoodsId(Long goodsId) {
        this.goodsId = goodsId;
    }

    public Long getWarehouseId() {
        return warehouseId;
    }

    public void setWarehouseId(Long warehouseId) {
        this.warehouseId = warehouseId;
    }

    public Long getPresentStock() {
        return presentStock;
    }

    public void setPresentStock(Long presentStock) {
        this.presentStock = presentStock;
    }

    public Long getAvailableStock() {
        return availableStock;
    }

    public void setAvailableStock(Long availableStock) {
        this.availableStock = availableStock;
    }

    public Long getRemoveStateId() {
        return removeStateId;
    }

    public void setRemoveStateId(Long removeStateId) {
        this.removeStateId = removeStateId;
    }
}
